package cn.lyb.service;

import cn.lyb.entity.User;

import java.util.List;

public interface IService {

    User getById(Long id) throws NotFoundException;

    List<User> getAll();

    void editById(User user) throws NotFoundException;

    void remove(Long id);

}
